#ifndef BALL_H_INCLUDED
#define BALL_H_INCLUDED
#include <iostream>
#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include <SFML/Window.hpp>

class ImgMgr;
class Level;
class Mob;
class FleshTile;

class Ball
{
public:
    Ball();
    void init(const sf::Vector2f position, const float moveX, const float moveY);
    void render(sf::RenderWindow *app);
    void maj(Level *level, std::vector<Mob*> *mob);
    sf::Vector2f getPosition() const;
    void setPosition(sf::Vector2f position);
    bool getDead() const;

private:
    sf::RectangleShape m_skin;
    sf::Clock m_inAir;
    bool m_dead;
    float m_moveX;
    float m_moveY;
    int m_direction;

};



#endif // BALL_H_INCLUDED
